package com.qf.android.huihui.utils.retrofit;

import com.qf.android.huihui.bean.DetailListBean;
import com.qf.android.huihui.bean.DetailListItemBean;
import com.qf.android.huihui.bean.InformationBean;
import com.qf.android.huihui.bean.SearchBean;
import com.qf.android.huihui.bean.ShoppingBean;
import com.qf.android.huihui.bean.show.shoppingbottom.Hot;
import com.qf.android.huihui.bean.show.shoppingbottom.HotBusiness;
import com.qf.android.huihui.bean.show.shoppingbottom.ShoppingBottomBean;
import com.qf.android.huihui.utils.HHutil;

import retrofit.http.GET;
import retrofit.http.Query;
import rx.Observable;

/**
 * Created by 韩爽 on 2017/1/6.
 */

public interface RHttpSevice {
   //晒物
//     @GET(HHutil.RSHOW)
//     Observable<ShowBean> getShow(@Query("page") int page, @Query("lastpubtime") int lastpubtime);

     //资讯
     @GET(HHutil.RInformation)
     Observable<InformationBean> getInformation(@Query("page") int page, @Query("lastshowid") int lastshowid);
     //海淘的上半部分
     @GET(HHutil.SHOPPING_FIRST)
     Observable<ShoppingBean>   getShopping_first();
     //海淘下部分中的热门推荐和直邮
     @GET(HHutil.shopping_second_hot_and_business)
     Observable<HotBusiness> getHotAndBusiness();
     //海淘下部分中的热销榜
     @GET(HHutil.shopping_second_hot)
     Observable<Hot> getHot();
     //推荐20+
     @GET(HHutil.shopping_second_recommend)
     Observable<ShoppingBottomBean> getShoppingBottomBean();

     //国内
     @GET(HHutil.DOMESTIC1)
     Observable<Object>  getDomestic_first();

     @GET(HHutil.DOMESTIC2)
     Observable<Object>  getDomestic_second();
     //清单
     @GET(HHutil.MANIFEST)
     Observable<DetailListBean> getDetailList();
     @GET(HHutil.MANIFEST_SECOND)
     Observable<DetailListItemBean> getDetailListItem(@Query("id") int id);
     @GET(HHutil.SEARCH)
     Observable<SearchBean> getSearch();


}
